package com.prj.ufdm.cloud.ms.core.model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhengzixiang
 * @since 2019-09-20
 */
public class SeqNum implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 编码类型
     */
    private String codeType;

    /**
     * 编码值
     */
    private String codeValue;
    
    private String codeParams;//可自定义参数
    
    private boolean defaultValue=true;//是否使用默认
    
	public boolean isDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(boolean defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getCodeParams() {
		return codeParams;
	}

	public void setCodeParams(String codeParams) {
		this.codeParams = codeParams;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }
    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }

    @Override
    public String toString() {
        return "SysCodeGenerate{" +
        "id=" + id +
        ", codeType=" + codeType +
        ", codeValue=" + codeValue +
        "}";
    }
}
